package com.shuhg.bean
{
	import flash.display.Bitmap;
	import flash.utils.ByteArray;
	

	/**
	 * 映射数据库里面的书籍
	 * */
	public class BookBean
	{
		//版本信息，0免费  1,收费
		private var _version:Number;
		//书籍的ID
		private var _bookId:String;
		//书籍的名称
		private var _bookName:String;
		//书籍作者
		private var _authorName:String;
		//书籍总页码
		private var _pageCount:Number;
		//书籍的所在位置
		private var _bookIndex:Number;
		//书籍所在的存储位置
		private var _indexPage:Number;
		//书籍路径
		private var _filePath:String;
		//封面字节位图
		private var _coverBitmap:Bitmap;
		//封面字节文件
		private var _coverByte:ByteArray;
		
		
		public function BookBean()
		{
			
		}
		//
		public function set version(value:Number ):void{
			this._version=value;
		}
		public function get version():Number{
			return this._version;
		}
		//
		public function set bookId(value:String ):void{
			this._bookId=value;
		}
		public function get bookId():String{
			return this._bookId;
		}
		//
		public function set bookName(value:String ):void{
			this._bookName=value;
		}
		public function get bookName():String{
			return this._bookName;
		}
		//
		public function set authorName(value:String ):void{
			this._authorName=value;
		}
		public function get authorName():String{
			return this._authorName;
		}
		//
		public function set pageCount(value:Number ):void{
			this._pageCount=value;
		}
		public function get pageCount():Number{
			return this._pageCount;
		}
		//
		public function set bookIndex(value:Number ):void{
			this._bookIndex=value;
		}
		public function get bookIndex():Number{
			return this._bookIndex;
		}
		//
		public function set indexPage(value:Number ):void{
			this._indexPage=value;
		}
		public function get indexPage():Number{
			return this._indexPage;
		}
		//
		public function set filePath(value:String ):void{
			this._filePath=value;
		}
		public function get filePath():String{
			return this._filePath;
		}
		//
		public function set coverBitmap(value:Bitmap ):void{
			this._coverBitmap=value;
		}
		public function get coverBitmap():Bitmap{
			return this._coverBitmap;
		}
		//
		public function set coverByte(value:ByteArray ):void{
			this._coverByte=value;
		}
		public function get coverByte():ByteArray{
			return this._coverByte;
		}
	}
}